home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / NetBSD / docs-netbsd / Mailinglist-Archive / 1994-10.gz / 1994-10 / 000253_owner-amiga-x@netbsd.org_Wed Oct 12 10:12:17 1994.msg < prev    next >
Text File  |  1994-11-20  |  4KB  |  81 lines

  1. From: Markus Landgraf <landgraf@crunch.ikp.physik.th-darmstadt.de>
  2. To: brettw@io.com
  3. Cc: amiga-x@netbsd.org
  4. Subject: Re: Unreasonable X probs
  5. Sender: owner-amiga-x@netbsd.org
  6.  
  7. >>>>> "quantum" == quantum  <brettw@io.com> writes:
  8.  
  9.     quantum> I'm having more trouble than I should, getting X11
  10.     quantum> working.  I have the pre-release2 installed, and from all
  11.     quantum> indications, working.  I am able to ping my localhost,
  12.     quantum> etc.
  13.  
  14.     quantum> I downloaded X11R6 (the Oct. build) and installed it
  15.     quantum> where it wanted to go -- which was /usr/local/X11R6.  I
  16.     quantum> downloaded the Xmono server (X11R5) and created all
  17.     quantum> (apparent) links necessary.
  18.  
  19. BTW, is it right to put X11 in the packages directory? I think X is
  20. rather a part of the system than a package. All commercial unices I
  21. know put it in /usr/bin/X11, /usr/lib/X11.
  22.  
  23.     quantum> However, the distribution seems to be missing many of the
  24.     quantum> configuration files (Xserver, Xresources, xdm-config,
  25.     quantum> etc).  I have created may of these as per the X
  26.     quantum> Administrators Guide.
  27.  
  28. Sounds good.
  29.  
  30.     quantum> When I run xdm, the screen blanks several times as if it
  31.     quantum> is entering graphics mode, but then returns to the
  32.     quantum> command line.  When I run 'ps -x' it shows xdm is
  33.     quantum> running.  Ok, so maybe the servers are up?  When I try to
  34.     quantum> run any commands that might launch an X client, such as
  35.     quantum> xterm, I get the message: Cannot open display: :0.0
  36.  
  37. xdm is allways running, even if it isn't able to start the local
  38. Xserver, because xdm is a netservice, which doesn't depend on the
  39. local Xserver. If you can't see the typical X background and the
  40. cursor 'X', the server isn't running and so the clients can not
  41. connect to it. The rease why you server doesn't stay alive can be
  42. reconstructed from the various error files, that where defined in
  43. xdm-config. When xdm terminates before the user was logged in, the
  44. errors go to the file with the name stored in the
  45. <DisplayManager.errorLogFile> resource. Otherwise you get an error
  46. message in $HOME/.xsession-errors, which indicates errors in your
  47. .xsession file.
  48.  
  49.     quantum> If I set my DISPLAY variable to DISPLAY=localhost:0.0, I
  50.     quantum> just get: Cannot open display: localhost:0.0
  51.  
  52.     quantum> What is the problem?  I presumed the X11 tar was made off
  53.     quantum> of a working system and would simply be plug-n-play.  I
  54.     quantum> spent all weekend trying to get this working -- creating
  55.     quantum> all of the missing xdm configuration files etc.
  56.  
  57.     quantum> I tried startx and xinit, but as the X Admin Guide said
  58.     quantum> these where outdated and no longer supported, I'd like to
  59.     quantum> use the recommeded xdm (they behaved similarly).
  60.  
  61.     quantum> When I run ktrace on xdm, it shows no errors -- anymore,
  62.     quantum> that is -- I fixed all the ones it had.  But as, above, I
  63.     quantum> am still unable to open the display.
  64.  
  65. You can try 'xdm -debug 1' and see what's displayed on the console,
  66. the method has one drawback: when the Xserver comes up, you can't see
  67. the console output anymore, so it's best to have an external terminal
  68. connected or do the debugging via a remote machine, but since your
  69. server seems to go down immediatly, you will probably get the
  70. information you want.
  71.  
  72.     quantum> Someone please point me in the right direction here
  73.     quantum> ... it seems many of you have this thing working!  I'm
  74.     quantum> willing to wipe my install and start over if necessary.
  75.     quantum> The Amiga-X-FAQ from early this year is utterly useless.
  76.  
  77.     quantum> I tried posting this to comp.unix.amiga ... to no avail.
  78.     quantum> This is the place I'm supposed to ask, so hopefully one
  79.     quantum> of you will take the time to answer.
  80.  
  81.